package com.ruoyi.keep.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.keep.domain.FitnessGym;
import com.ruoyi.keep.domain.Teacher;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 健身馆Mapper接口
 * 
 * @author zqd
 * @date 2024-08-14
 */
public interface FitnessGymMapper extends BaseMapper<FitnessGym>
{
    /**
     * 查询健身馆
     * 
     * @param id 健身馆主键
     * @return 健身馆
     */

    public FitnessGym selectFitnessGymById(Long id);

    /**
     * 查询健身馆列表
     * 
     * @param fitnessGym 健身馆
     * @return 健身馆集合
     */
    public List<FitnessGym> selectFitnessGymList(FitnessGym fitnessGym);

    /**
     * 新增健身馆
     * 
     * @param fitnessGym 健身馆
     * @return 结果
     */
    public int insertFitnessGym(FitnessGym fitnessGym);

    /**
     * 修改健身馆
     * 
     * @param fitnessGym 健身馆
     * @return 结果
     */
    public int updateFitnessGym(FitnessGym fitnessGym);

    /**
     * 删除健身馆
     * 
     * @param id 健身馆主键
     * @return 结果
     */
    public int deleteFitnessGymById(Long id);

    /**
     * 批量删除健身馆
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFitnessGymByIds(Long[] ids);



    public List<FitnessGym>   selectBynameList(String gymName);
}
